﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Condimar.Entities;
using Condimar.Repository;
using Microsoft.Practices.Unity;

namespace Condimar.BussinesLogic
{
    public class CompraBL:ICompraBL
    {
        [Dependency]
        public ICompraDAO compraDAO { get; set; }

        public List<Compra> GetAllFromCompras()
        {
            throw new NotImplementedException();
        }

        public List<Compra> GetFromCompraByProveedor(string proveedor)
        {
            throw new NotImplementedException();
        }

        public Compra GetFromCompraById(int id)
        {
            throw new NotImplementedException();
        }

        public void AddCompra(Compra compra)
        {
            compraDAO.AddCompra(compra);
        }

        public void UpdateCompra(Compra compra)
        {
            throw new NotImplementedException();
        }

        public void RemoveCompra(int id)
        {
            throw new NotImplementedException();
        }
    }
}
